<template>
	<view>
		<u-modal :show="message.modalShow" :title="message.title"
		:showCancelButton="true" @confirm="confirm" @cancel="cancel"></u-modal>
	</view>
</template>

<script>
	export default {
		name:"moDal",
		props:{
			message:{}
		},
		data() {
			return {
				
			};
		},
		methods:{
			confirm(){
				this.$parent.modal.modalShow = false
				this.$emit("modalSure")
			},
			cancel(){
				this.$parent.modal.modalShow = false
			}
		}
	}
</script>

<style>

</style>